package com.peace.hospital.entity.drugstorage;

import com.baomidou.mybatisplus.annotation.TableField;
import com.peace.hospital.entity.common.Druginformation;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author xie
 * @since 2019-11-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Druginformationandwaentry implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer drugid;

    private Integer waeid;

    @TableField(exist = false)
    private Druginformation druginformation;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getDrugid() {
        return drugid;
    }

    public void setDrugid(Integer drugid) {
        this.drugid = drugid;
    }

    public Integer getWaeid() {
        return waeid;
    }

    public void setWaeid(Integer waeid) {
        this.waeid = waeid;
    }

    public Druginformation getDruginformation() {
        return druginformation;
    }

    public void setDruginformation(Druginformation druginformation) {
        this.druginformation = druginformation;
    }

    @Override
    public String toString() {
        return "Druginformationandwaentry{" +
                "drugid=" + drugid +
                ", waeid=" + waeid +
                ", druginformation=" + druginformation +
                '}';
    }
}
